package com.zp.base.entity.bo;

import com.zp.common.core.entity.BaseEntity;
import com.zp.common.core.validate.AddGroup;
import com.zp.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;

/**
 * 手术操作字典业务对象
 *
 * @author zhang peng
 * @date 2023-01-13
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class OperationDictBo extends BaseEntity {

    /**
     *
     */
    @NotBlank(message = "不能为空", groups = {EditGroup.class})
    private String operationDictId;

    /**
     * 手术操作代码
     */
    @NotBlank(message = "手术操作代码不能为空", groups = {AddGroup.class, EditGroup.class})
    private String operationCode;

    /**
     * 手术操作名称
     */
    @NotBlank(message = "手术操作名称不能为空", groups = {AddGroup.class, EditGroup.class})
    private String operationName;

    /**
     * 手术等级
     */
    @NotBlank(message = "手术等级不能为空", groups = {AddGroup.class, EditGroup.class})
    private String operationScale;

    /**
     * 输入码
     */
    @NotBlank(message = "输入码不能为空", groups = {AddGroup.class, EditGroup.class})
    private String inputCode;

    /**
     * 诊疗项目ID
     */
    @NotBlank(message = "诊疗项目ID不能为空", groups = {AddGroup.class, EditGroup.class})
    private String clinicId;

    /**
     * 单位
     */
    @NotBlank(message = "单位不能为空", groups = {AddGroup.class, EditGroup.class})
    private String unit;

    /**
     * 手术状态
     */
    @NotBlank(message = "手术状态不能为空", groups = {AddGroup.class, EditGroup.class})
    private String operationFlag;

    /**
     * 机构ID
     */
    @NotBlank(message = "机构ID不能为空", groups = {AddGroup.class, EditGroup.class})
    private String orgId;

    /**
     * 备注信息
     */
    private String remark;

}
